<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title>易商通运营平台</title>
    <script type="text/javascript" src="__PUBLIC__/libs/js/jquery.js"></script>
    <script type="text/javascript" src="__PUBLIC__/libs/js/framework.js"></script>
    <link href="__PUBLIC__/libs/css/import_basic.css" rel="stylesheet" type="text/css"/>
    <link rel="stylesheet" type="text/css" id="skin" prePath="__PUBLIC__/"/>
    <link rel="stylesheet" type="text/css" id="customSkin"/>
    <script type="text/javascript" src="__PUBLIC__/libs/js/table/detailTable.js"></script>

</head>
<body>
  <div class="box1">
       <fieldset style="border-color:#999999;">

  <legend>业务列表</legend>
<div class="box2" panelTitle="功能面板" id="searchPanel">
	<form action="__URL__/customeradmin" method="post">
   <table>
		<tr>
			<td>公司名：</td>
			<td><input name="sousuo" value="" type="text"/></td>
			<td><span class="icon_find"><input type="submit" value="查询"></span></td>
         <td><a  href="#">本月业务</a></td>
         <td><a href="#">所有业务</a></td>
		</tr>
	</table>
   </form>
</div>
    <table    class="detailTable" useColor="false" useHover="false" useClick="false"  >
      <tr>
          <th width="30">操作</th>
                <th class="light">公司名</th>
                <th class="light">联系人</th>
                <th class="light">联系电话</th>
                <th class="light">QQ</th>
                <th class="light">邮箱</th>
                <th class="light">公司地址</th>
                 <th class="light">创建时间</th>
                <th class="light">备注</th>
                <th class="light">管理</th>
              </tr>
          <volist name="list" id="vo">
              <tr>
                  <td><span class="img_add2 hand" title="点击展开"></span></td>
                  <td><a href="__URL__/customercontent/id/{$vo['id']}">{$vo['company']}</a></td>
                  <td><a href="__URL__/customercontent/id/{$vo['id']}">{$vo['contact']}</a></td>
                  <td>{$vo['telephone']}</td>
                  <td>{$vo['qq']}</td>
                  <td>{$vo['email']}</td>
                  <td>{$vo['address']}</td>
                  <td>{$vo['createtime']}</td>
                  <td>{$vo['note']|substr=0,30}</td>
                 <td>
                     <a href="__APP__/yewu/add/id/{$vo['id']}">添加新项目</a>
                     <a href="__URL__/customerupdate/id/{$vo['id']}">修改</a>
                     | <a href="__URL__/customerdel/id/{$vo['id']}">删除</a></td>
              </tr>
              <tr>
                  <td></td>
                  <td colspan="9">

                      <table class="tableStyle">
                          <tr>
                              <th class="light">网站名称</th>
                              <th class="light">关键字</th>
                              <th class="light">域名</th>
                              <th class="light">建立时间</th>
                              <th class="light">域名所在地</th>
                              <th class="light">备案</th>
                              <th class="light">管理</th>
                          </tr>
                          <?php
                        foreach($vo['site'] as $k=>$vo)
                          {
                          ?>
                              <tr>
                                  <td><a href="__URL__/sitecontent/id/{$vo['id']}">{$vo['name']}</a></td>
                                  <td><a href="__URL__/sitecontent/id/{$vo['id']}">{$vo['keyword']}</a></td>
                                  <td><a href="__URL__/sitecontent/id/{$vo['id']}">{$vo['domain']}</a></td>
                                  <td><a href="__URL__/sitecontent/id/{$vo['id']}">{$vo['createtime']}</a></td>
                                  <td>{$vo['provider']}</td>
                                  <td>{$vo['regtime']}</td>
                                  <td>{$vo['beian']}</td>
                                  <td>
                                      <a href="__URL__/siteupdate/id/{$vo['id']}">修改</a>
                                      <a href="__URL__/sitedel/id/{$vo['id']}">删除</a>
                                  </td>
                              </tr>
                          <?php
                            } ?>
                      </table>

                  </td>
              </tr>
              </volist>
    </table>

</fieldset>
	</div>


</body>
</html>